package com.hboxs.asl.entity;

/**
 * Created by Terry on 2017/8/15.
 */
public class Notify {

    /********************************新录制文件参数***************************************/

    //事件类型
    private int event_type;

    private String appid;

    private String channel_id;

    private String sign;

    private String t;

    //推流时长
    private int duration;

    //分片结束时间戳
    private int end_time;

    //文件格式
    private String file_format;

    //文件id
    private String file_id;

    //文件大小
    private String file_size;

    //录制文件id
    private String record_file_id;

    //分片开始时间戳
    private int start_time;

    //直播码
    private String stream_id;

    //点播用vid，在点播平台可以唯一定位一个点播视频文件
    private String video_id;

    //下载地址
    private String video_url;

    //推流url参数
    private String stream_param;



    /********************************断流、推流参数***************************************/

    //推流域名
    private String app;

    //推流路径
    private String appname;

    private String event_time;

    //消息序列号，标识一次推流活动，一次推流活动会产生相同序列号的推流和断流消息
    private String sequence;

    //Upload接入点的ip
    private String node;

    //用户推流ip
    private String user_ip;

    //断流错误码
    private int errcode;

    //断流错误信息
    private String errmsg;


    /********************************新截图文件参数***************************************/

    //截图时间戳
    private int create_time;

    //截图全路径
    private String pic_url;

    public int getEvent_type() {
        return event_type;
    }

    public void setEvent_type(int event_type) {
        this.event_type = event_type;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(String channel_id) {
        this.channel_id = channel_id;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getT() {
        return t;
    }

    public void setT(String t) {
        this.t = t;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getEnd_time() {
        return end_time;
    }

    public void setEnd_time(int end_time) {
        this.end_time = end_time;
    }

    public String getFile_format() {
        return file_format;
    }

    public void setFile_format(String file_format) {
        this.file_format = file_format;
    }

    public String getFile_id() {
        return file_id;
    }

    public void setFile_id(String file_id) {
        this.file_id = file_id;
    }

    public String getFile_size() {
        return file_size;
    }

    public void setFile_size(String file_size) {
        this.file_size = file_size;
    }

    public String getRecord_file_id() {
        return record_file_id;
    }

    public void setRecord_file_id(String record_file_id) {
        this.record_file_id = record_file_id;
    }

    public int getStart_time() {
        return start_time;
    }

    public void setStart_time(int start_time) {
        this.start_time = start_time;
    }

    public String getStream_id() {
        return stream_id;
    }

    public void setStream_id(String stream_id) {
        this.stream_id = stream_id;
    }

    public String getVideo_id() {
        return video_id;
    }

    public void setVideo_id(String video_id) {
        this.video_id = video_id;
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url;
    }

    public String getStream_param() {
        return stream_param;
    }

    public void setStream_param(String stream_param) {
        this.stream_param = stream_param;
    }


    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname;
    }

    public String getEvent_time() {
        return event_time;
    }

    public void setEvent_time(String event_time) {
        this.event_time = event_time;
    }

    public String getSequence() {
        return sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence;
    }

    public String getNode() {
        return node;
    }

    public void setNode(String node) {
        this.node = node;
    }

    public String getUser_ip() {
        return user_ip;
    }

    public void setUser_ip(String user_ip) {
        this.user_ip = user_ip;
    }

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public String getPic_url() {
        return pic_url;
    }

    public void setPic_url(String pic_url) {
        this.pic_url = pic_url;
    }

    @Override
    public String toString() {
        return "Notify{" +
                "event_type=" + event_type +
                ", appid='" + appid + '\'' +
                ", channel_id='" + channel_id + '\'' +
                ", sign='" + sign + '\'' +
                ", t='" + t + '\'' +
                ", duration=" + duration +
                ", end_time=" + end_time +
                ", file_format='" + file_format + '\'' +
                ", file_id='" + file_id + '\'' +
                ", file_size='" + file_size + '\'' +
                ", record_file_id='" + record_file_id + '\'' +
                ", start_time=" + start_time +
                ", stream_id='" + stream_id + '\'' +
                ", video_id='" + video_id + '\'' +
                ", video_url='" + video_url + '\'' +
                ", stream_param='" + stream_param + '\'' +
                ", app='" + app + '\'' +
                ", appname='" + appname + '\'' +
                ", event_time='" + event_time + '\'' +
                ", sequence='" + sequence + '\'' +
                ", node='" + node + '\'' +
                ", user_ip='" + user_ip + '\'' +
                ", errcode=" + errcode +
                ", errmsg='" + errmsg + '\'' +
                ", create_time=" + create_time +
                ", pic_url='" + pic_url + '\'' +
                '}';
    }
}
